import Cookies from 'js-cookie'

const SessionKey = 'XD_SESSION'

export function getSession() {
  return Cookies.get(SessionKey)
}

export function setSession(value) {
  return Cookies.set(SessionKey, value)
}

export function removeSession() {
  return Cookies.remove(SessionKey)
}
